
package com.fis.mca.persistence;

import java.util.Date;

import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlSchemaType;
import javax.xml.bind.annotation.XmlType;
import javax.xml.datatype.XMLGregorianCalendar;


/**
 * <p>Java class for mcaMailLog complex type.
 * 
 * <p>The following schema fragment specifies the expected content contained within this class.
 * 
 * <pre>
 * &lt;complexType name="mcaMailLog">
 *   &lt;complexContent>
 *     &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
 *       &lt;sequence>
 *         &lt;element name="chargeStatus" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
 *         &lt;element name="content" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
 *         &lt;element name="createDatetime" type="{http://www.w3.org/2001/XMLSchema}dateTime" minOccurs="0"/>
 *         &lt;element name="mail" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
 *         &lt;element name="mailLogId" type="{http://www.w3.org/2001/XMLSchema}long"/>
 *         &lt;element name="mcaAction" type="{http://maillog.mca.fis.com/}mcaAction" minOccurs="0"/>
 *         &lt;element name="mcaLanguage" type="{http://maillog.mca.fis.com/}mcaLanguage" minOccurs="0"/>
 *         &lt;element name="mcaSubscriber" type="{http://maillog.mca.fis.com/}mcaSubscriber" minOccurs="0"/>
 *         &lt;element name="status" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
 *         &lt;element name="title" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
 *         &lt;element name="transDatetime" type="{http://www.w3.org/2001/XMLSchema}dateTime" minOccurs="0"/>
 *       &lt;/sequence>
 *     &lt;/restriction>
 *   &lt;/complexContent>
 * &lt;/complexType>
 * </pre>
 * 
 * 
 */
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "mcaMailLog", propOrder = {
    "chargeStatus",
    "content",
    "createDatetime",
    "mail",
    "mailLogId",
    "mcaAction",
    "mcaLanguage",
    "mcaSubscriber",
    "status",
    "title",
    "transDatetime"
})
public class McaMailLog {

    protected String chargeStatus;
    protected String content;
    @XmlSchemaType(name = "dateTime")
    protected Date createDatetime;
    protected String mail;
    protected long mailLogId;
    protected McaAction mcaAction;
    protected McaLanguage mcaLanguage;
    protected McaSubscriber mcaSubscriber;
    protected String status;
    protected String title;
    @XmlSchemaType(name = "dateTime")
    protected Date transDatetime;

    /**
     * Gets the value of the chargeStatus property.
     * 
     * @return
     *     possible object is
     *     {@link String }
     *     
     */
    public String getChargeStatus() {
        return chargeStatus;
    }

    /**
     * Sets the value of the chargeStatus property.
     * 
     * @param value
     *     allowed object is
     *     {@link String }
     *     
     */
    public void setChargeStatus(String value) {
        this.chargeStatus = value;
    }

    /**
     * Gets the value of the content property.
     * 
     * @return
     *     possible object is
     *     {@link String }
     *     
     */
    public String getContent() {
    	String str = content.replace("\\n", "\n");
    	str = str.replace("\\t", "\t");
    	str = str.replace("\\r", "\r");
        return str;
    }

    /**
     * Sets the value of the content property.
     * 
     * @param value
     *     allowed object is
     *     {@link String }
     *     
     */
    public void setContent(String value) {
        this.content = value;
    }

    /**
     * Gets the value of the createDatetime property.
     * 
     * @return
     *     possible object is
     *     {@link XMLGregorianCalendar }
     *     
     */
    public Date getCreateDatetime() {
        return createDatetime;
    }

    /**
     * Sets the value of the createDatetime property.
     * 
     * @param value
     *     allowed object is
     *     {@link XMLGregorianCalendar }
     *     
     */
    public void setCreateDatetime(Date value) {
        this.createDatetime = value;
    }

    /**
     * Gets the value of the mail property.
     * 
     * @return
     *     possible object is
     *     {@link String }
     *     
     */
    public String getMail() {
        return mail;
    }

    /**
     * Sets the value of the mail property.
     * 
     * @param value
     *     allowed object is
     *     {@link String }
     *     
     */
    public void setMail(String value) {
        this.mail = value;
    }

    /**
     * Gets the value of the mailLogId property.
     * 
     */
    public long getMailLogId() {
        return mailLogId;
    }

    /**
     * Sets the value of the mailLogId property.
     * 
     */
    public void setMailLogId(long value) {
        this.mailLogId = value;
    }

    /**
     * Gets the value of the mcaAction property.
     * 
     * @return
     *     possible object is
     *     {@link McaAction }
     *     
     */
    public McaAction getMcaAction() {
        return mcaAction;
    }

    /**
     * Sets the value of the mcaAction property.
     * 
     * @param value
     *     allowed object is
     *     {@link McaAction }
     *     
     */
    public void setMcaAction(McaAction value) {
        this.mcaAction = value;
    }

    /**
     * Gets the value of the mcaLanguage property.
     * 
     * @return
     *     possible object is
     *     {@link McaLanguage }
     *     
     */
    public McaLanguage getMcaLanguage() {
        return mcaLanguage;
    }

    /**
     * Sets the value of the mcaLanguage property.
     * 
     * @param value
     *     allowed object is
     *     {@link McaLanguage }
     *     
     */
    public void setMcaLanguage(McaLanguage value) {
        this.mcaLanguage = value;
    }

    /**
     * Gets the value of the mcaSubscriber property.
     * 
     * @return
     *     possible object is
     *     {@link McaSubscriber }
     *     
     */
    public McaSubscriber getMcaSubscriber() {
        return mcaSubscriber;
    }

    /**
     * Sets the value of the mcaSubscriber property.
     * 
     * @param value
     *     allowed object is
     *     {@link McaSubscriber }
     *     
     */
    public void setMcaSubscriber(McaSubscriber value) {
        this.mcaSubscriber = value;
    }

    /**
     * Gets the value of the status property.
     * 
     * @return
     *     possible object is
     *     {@link String }
     *     
     */
    public String getStatus() {
        return status;
    }

    /**
     * Sets the value of the status property.
     * 
     * @param value
     *     allowed object is
     *     {@link String }
     *     
     */
    public void setStatus(String value) {
        this.status = value;
    }

    /**
     * Gets the value of the title property.
     * 
     * @return
     *     possible object is
     *     {@link String }
     *     
     */
    public String getTitle() {
        return title;
    }

    /**
     * Sets the value of the title property.
     * 
     * @param value
     *     allowed object is
     *     {@link String }
     *     
     */
    public void setTitle(String value) {
        this.title = value;
    }

    /**
     * Gets the value of the transDatetime property.
     * 
     * @return
     *     possible object is
     *     {@link XMLGregorianCalendar }
     *     
     */
    public Date getTransDatetime() {
        return transDatetime;
    }

    /**
     * Sets the value of the transDatetime property.
     * 
     * @param value
     *     allowed object is
     *     {@link XMLGregorianCalendar }
     *     
     */
    public void setTransDatetime(Date value) {
        this.transDatetime = value;
    }

}
